//
//  ZZBaseViewModel.m
//  zhengzai-tv
//
//  Created by SC on 16/6/16.
//  Copyright © 2016年 zhengzai.tv. All rights reserved.
//

#import "ZZBaseViewModel.h"

@implementation ZZBaseViewModel

- (instancetype)initWithParams:(NSDictionary *)params
{
    self = [super init];
    if (self != nil) {
        self.title = params[kViewModelParamsTitle];
        [self initialize];
    }
    return self;
}

- (void)initialize
{
    self.shouldFetchLocalDataOnViewModelInitialize = YES;
    self.shouldRequestRemoteDataOnViewDidLoad = YES;
}

- (void)requestRemoteData {}
- (void)requestRemoteData:(void (^)(BOOL, id))complete {}

@end
